@import url('~@/styles/mixin.less');

.page {
    width: 100%;
    padding: 48px 24px;
    padding-bottom: 0;
    background: linear-gradient(180deg, rgba(30, 190, 173, 0.4) 0%, rgba(240, 242, 245, 0) 100%);

    .plate {
        margin-bottom: 16px;
        &_content {
            margin-bottom: 16px;
        }
        &:not(:first-child) {
            .plate_content {
                padding: 24px 32px;
                background-color: #f6fafa;
            }
        }
    }
}

.plate {
    padding: 32px;
    overflow: hidden;
    background: url('~@/static/trainPlan/content_bg_yellow.png') no-repeat;
    background-color: #fff !important;
    background-position: left top !important;
    background-size: 167px 87px !important;
    border-radius: 16px !important;

    &:not(:first-child) {
        background: url('~@/static/trainPlan/content_bg_green.png') no-repeat;
    }

    &_header {
        margin-bottom: 40px;
        color: #333;
        font-weight: bold;
        font-size: 36px;
        line-height: 50px;
        .ellipsis();
    }

    &_content {
        &_field:not(:last-child) {
            margin-bottom: 24px;
        }

        &_field {
            color: #999;
            font-weight: 400;
            font-size: 32px;
            line-height: 45px;
            .flex(space-between, flex-start);

            label {
                width: 208px;
            }
            span {
                display: block;
                width: calc(100% - 204px);
                color: #333;
            }
        }

        &_teacherWrap {
            flex-direction: column;

            label {
                display: block;
                margin-bottom: 8px;
            }

            .flex(space-between, flex-start);
        }

        &_teacher {
            width: 100%;
            padding: 16px;
            color: #333;
            font-size: 34px;
            line-height: 48px;
            background-color: #f6fafa;
            .flex(flex-start, flex-start);
            span {
                position: relative;
                display: block;
                width: 200px;
                padding: 0 20px;
                text-align: center;

                &::after {
                    position: absolute;
                    top: 50%;
                    right: 0;
                    display: block;
                    width: 1px;
                    height: 40px;
                    background: #ddd;
                    transform: translateY(-50%);
                    content: '';
                }
            }
        }
    }

    &_teacherContainerWrap {
        .flex(space-between, center);
    }
}

.teacherCard {
    position: relative;
    width: 303px;
    height: 392px;
    background: url('~@/static/classAudit/teacher_container.png') no-repeat;
    background-size: 303px 392px;

    &_header {
        flex-direction: column;
        height: 78px;
        color: #1ebead;
        font-weight: bold;
        font-size: 32px;
        .flex(center,center);

        span {
            color: #1ebead;
            font-size: 24px;
            line-height: 33px;
        }
    }
    .item() {
        width: 255px !important;
        height: 80px;
        margin: auto;
        padding: 24px;
        color: #333;
        font-size: 34px;
        line-height: 48px;
        background: #f6fafa;
        border-radius: 8px;
    }
    &_item {
        flex-direction: column;
        // padding: 20px;
        color: #999;
        font-weight: 400;
        font-size: 30px;
        line-height: 42px;
        text-align: center;
        .flex( flex-start, center);

        label {
            display: block;
            margin-top: 32px;
            color: #333;
            font-weight: bold;
            font-size: 36px;
            line-height: 50px;
            text-align: center;
            .ellipsis();
        }

        span {
            margin: 12px 0;
        }
    }

    &_dispatch {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 50px;
        color: #bbb;
        font-weight: bold;
        font-size: 36px;
        line-height: 50px;
        transform: translate(-50%, -50%);
    }

    &_sex {
        margin-bottom: 16px !important;
        .item();
    }

    &_region {
        .item();
        .ellipsis();
    }
}
